package com.computercourse.manage_course.dao;

import com.computercourse.framework.domain.course.ext.CourseInfo;
import com.computercourse.framework.domain.course.request.CourseListRequest;
import com.github.pagehelper.Page;
import com.computercourse.framework.domain.course.CourseBase;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

/** 
 * @description 
 * @author Feng.Yuan
 * @date 2020/1/28 11:14 下午
 * @return
 */
@Mapper
@Repository
public interface CourseMapper {
   
   CourseBase findCourseBaseById(String id);

   Page<CourseBase> findCourseList();

   //我的课程查询列表
   Page<CourseInfo> findCourseListPage(CourseListRequest courseListRequest);
}
